package com.bigdata.schaduler.enums;

import lombok.Getter;

@Getter
public enum DependenceDateInterval {
  CURRENT_HOUR("currentHour", "当前小时"),
  LAST_1_HOUR("last1Hour", "上一小时"),
  LAST_2_HOURS("last2Hours", "上两小时"),
  LAST_3_HOURS("last3Hours", "上三小时"),
  LAST_24_HOURS("last24Hours", "过去24小时"),
  TODAY("today", "今天"),
  LAST_1_DAYS("last1Days", "过去1天"),
  LAST_2_DAYS("last2Days", "过去2天"),
  LAST_3_DAYS("last3Days", "过去3天"),
  LAST_7_DAYS("last7Days", "过去7天"),
  THIS_WEEK("thisWeek", "本周"),
  LAST_WEEK("lastWeek", "上一周"),
  LAST_MONDAY("lastMonday", "上周一"),
  LAST_TUESDAY("lastTuesday", "上周二"),
  LAST_WEDNESDAY("lastWednesday", "上周三"),
  LAST_THURSDAY("lastThursday", "上周四"),
  LAST_FRIDAY("lastFriday", "上周五"),
  LAST_SATURDAY("lastSaturday", "上周六"),
  LAST_SUNDAY("lastSunday", "上周日"),
  THIS_MONTH("thisMonth", "本月"),
  THIS_MONTH_BEGIN("thisMonthBegin", "本月开始"),
  THIS_MONTH_END("thisMonthEnd", "本月结束"),
  LAST_MONTH("lastMonth", "上个月"),
  LAST_MONTH_BEGIN("lastMonthBegin", "上个月开始"),
  LAST_MONTH_END("lastMonthEnd", "上个月结束");

  private final String dateValue;
  private final String description;

  DependenceDateInterval(String dateValue, String description) {
    this.dateValue = dateValue;
    this.description = description;
  }

}
